/*所有的渲染转发都放这*/


export default class Demo2 extends Element {
  strdata="";
  constructor(props) { 
    super();
    this.props = props; 
   for(let v in  this.props){
     this.strdata += v+"="+this.props[v];
   }




  }
  render() {
    return <h1>Hello,传来参数{this.strdata}</h1>;
  }
}
